﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using PetaPoco;

namespace OneMake.Model
{
    [TableName("employee_info")]
    [PrimaryKey("employeeid", autoIncrement = true)]
    public class employee_info
    {
        [MapToField(FieldName = "ID")]
        public int employeeid { get; private set; }

        [MapToField(FieldName = "工号")]
        public string employee_no { get; set; }

        [MapToField(FieldName = "密码")]
        public string password { get; set; }

        [MapToField(FieldName = "姓名")]
        public string name { get; set; }

        [MapToField(FieldName = "类型")]
        public int type { get; set; }

        [MapToField(FieldName = "状态")]
        public int state { get; set; }
    }
}